package stfei.HorizList.core 
{
	import flash.events.Event;
	import stfei.HorizList.core.HorizList
	
	/**
	 * ...
	 * @author Stfei设计 AS3
	 * 项目名称：Flash网站列表类,用于将影片按照一定顺序排列到场景。
	   类应用：事件类
	 */
	public class HorizListEvent extends Event 
	{
		public static const AuthorWeb:String = "www.3dflynet.com"
		//每个缩略图加载完成时发生事件
		public static const THUMB_LOADED:String = "ThumbLoaded"
		//点击一个缩略图时
		public static const THUMB_CLICK:String ="ThumbClick"
		//前换页开始时
		public static const CHANGEPAGE_START_PREV:String = "ChangePageStartPrev"
		//下换页开始时
		public static const CHANGEPAGE_START_NEXT:String = "ChangePageStartNext"
		//换页结束时
		public static const CHANGEPAGE_OVER:String = "ChangePageOver"
		
		
		public function HorizListEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);			
		} 
		
		public override function clone():Event 
		{ 
			return new HorizListEvent(type, bubbles, cancelable);
		} 
		
		public override function get currentTarget():Object {
            return HorizList.eventTarget;
        }
		
		public override function get type():String {
            return super.type;
        }
		
		public override function get target():Object {
            return HorizList;
        }
		
		public override function toString():String 
		{ 
			return formatToString("HorizListEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}